<template>
  <div :class="wrapperClasses">
    <aty-input v-model="captchaValue" @blur="handleBlur" v-if="withInput" />
    <div :class="imgWrapperClasses" @click="handleClick">
      <img :src="captchaSrc" alt="字符验证码" :class="captchaImgClz" v-if="loadSuccess" />
      <p :class="captchaTextClz" v-else v-html="failText"></p>
    </div>
  </div>
</template>
<script type="text/ecmascript-6" src="./index.js"></script>
